Latest Questions

how to convert a buffer to arrow parquet table in c++

I read a parquet file from remote, so get the binary file, which is a buffer. (unsigned char *buffer) How can I convert it to readable table? I can save the buf

Rails app: I am having trouble creating joint instance

I want to create a simple app where admins can post their job offers and regular users can apply to those job offers. For that I have created a joint table: My

How to automate versioning in kubernetes Ingress

I have a multiple application deployed on kubernetes with multiple host. I want to configure versioning for the deployed apps. There will be multiple version fo

Contact Form 7 - Conditionally/Dynamically Attach Local Files to Email Based on Input Selection

I have a number of checkboxes that indicate the item that is ordered through our online order form system. For each item selected there is a corresponding .pdf

Jest tests breaks when calling getState outside a component in React

A bunch of my tests suddenly started breaking when I use store.getState() inside a function in React. If I log the store, the store exists but it is still break

Use quorum queue of RqbbitMQ in abp framework

In the ABP framework, how to use the quorum queue of RabbitMQ? I added a class that implements the IRabbitMqMessageConsumerFactory interface, like below, but it

APC PDU CLI automation over SSH

I found this script on Github for managing APC PDU from CLI, but it's using Telnet to login to APC PDU. What I'd like to do is change Telnet to SSH, but it does

Parentheses around data type?

I am a beginning programmer and came across this in my textbook: public boolean equals(DataElement otherElement) { IntElement temp = (IntElement) otherElem

WOPI : File content is not displaying in DOC Viewer

I have implemented WOPI in my Vue.js app and implemented a GET API in Node.js to return the file content, still iam unable to see the content in DOC viewer in f

Searching data in the JTable using

I have a table that I post with a database connection. I am searching the table, but after searching, selecting the row and bringing the result to the textbox r

Boost ASIO "Bad address" error when passing unique_ptr to completion handler

I'm trying to implement a simple TCP server using ASIO. The main difference here is that I'm using std::unique_ptr to hold the buffers instead of raw pointers a

Error: P1001: Can't reach database server at `localhost`:`5200`

Technologies I use: nestjs -> for backend prisma -> for orm postgresql -> database I'm trying to run these technologies using Docker but I'm running in

node js saving all values as 0 in sql

Im making an API on nodejs with express and mysql. In the POST method i dont get any error but on mysql store al values as 0, like this: 1 0 0.00 0000-00-00 0

How to plot vectors orthogonal to quadmesh?

I am trying to use the rgl package in R to plot unit vectors orthogonal to each cell in a quadmesh. I've used this page for a bit of guidance, and currently hav

Hyperledger Fabric Peer Join Channel

The use case is: I created a network with Raft Ordering service having one channel say, channel1 with three Organisations (Org1, Org2 and Org3). Org1 and Org2 p

Is there a VPN solution in Azure that can assign a static public IP to the clients connected for me to achieve full tunnelling? may be in P2S VPN?

Is there a VPN solution in Azure that can assign a static public IP to the clients connected for me to achieve full tunnelling? may be in P2S VPN? P2S VPN does

Prevent authentication bypass via response manipulation with ASP.NET Core Identity implementation

Web application has asp.net core identity implementation, in security testing of our application vulnerability is found-authentication bypass via response manip

Unable to auto-format *.rb in setting.json below in VScode

I want to auto-format all html, css, sass, rb, and html.erb,js files with setting.json_Vs-code. But the next file after setting.json can only be the above *.rb

How to find minimum of some variable with repeating row indexes and preserve all other variables in Python Pandas

Basically, I have multiple repeating dates and the indices (1/2/1990 many times followed by 1/3/1990 many more times, etc.) I want to find the minimum of a give

Binary tree not clearing with each loop iteration

I am using a binary tree to convert prefix expression into infix, and then solving them. That part works fully. My issue is the input loop I set up is adding on

Turtle distribution

How to create a set of turtles with the rising distribution of their location from the edge of the environment to the middle?

Get ROI feature vector from Faster R-CNN using Pytorch

I am training a faster R-CNN model in pytorch and I want to extract feature vector from roi-heads layer. I am using the following code: model = torchvision.mode

Are there any Datastructure and Database feature that could handle tag of tags?

I want to categorize data to search for content that can be tagged. However I want a tag to have relationship with other tag too and so it could be searched for

How to automatically align choices in LaTeX?

I'd like to align choices automatically in LaTeX document. I've found others' questions similar to mine, but there are mainly three problems. (url) ・how

How to determine the article PDF download link from the article webpage?

I would like to download some articles from my DOI list automatically (about 1500). Using doi.org I can get a website content for every of them. But the problem

Why cv2.write saves black images?

hi folks, greetings am using this code that I found on the web, to apply a wiener filter on an image, the code : from scipy.signal.signaltools import deconvolve

searching in range between columns using sqlite3 in pandas

I have found solution to my problem in one question Merge pandas dataframes where one value is between two others I tried to modify it for my situation but it d

Merging the object having array in JSONata into array of objects

I need to merge the array item to object using JSONata If my input is {"skus":[ { "a":1, "c":3, "b":["n"] }, { "a":6, "c":7, "b":[

bat file in Windows scheduler not running python script

I am trying run a python script to update a ppt presentation. I have also tried this a year ago with running a regression and updating a table in SQL and didn't

Sum numbers inside a table

Can anyone help me how to sum numbers inside a table in React.js? My scenario is that I have Product table, inside product it has header column (no, product nam